<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>仪表盘 - UnaBoot</title>
    <link rel="icon" href="${una}/ub-admin/img/favicon.png" type="image/x-icon">
    <link rel="shortcut icon" href="${una}/ub-admin/img/favicon.png" type="image/x-icon">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <link rel="stylesheet" href="${una}/ub-admin/plugin/fontawesome-free/css/all.min.css">
    <link rel="stylesheet" href="${una}/ub-admin/css/font-awesome.css">
    <link rel="stylesheet" href="${una}/ub-admin/css/ionicons.css">
    <link rel="stylesheet" href="${una}/ub-admin/css/adminlte.css">
    <link rel="stylesheet" href="${una}/ub-admin/css/unaboot-admin.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700">
</head>
<body class="sidebar-mini layout-fixed layout-navbar-fixed text-md <!--sidebar-collapse-->">
<div class="wrapper">
    <nav class="main-header navbar navbar-expand navbar-white navbar-light">
        <#include "/admin/inc/header.html">
    </nav>
    <aside class="main-sidebar sidebar-dark-primary ">
        <#include "/admin/inc/aside.html">
    </aside>
    <div class="content-wrapper bg-gray-custom">
        <div class="content-header">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h4 class="ml-2 mb-0 text-dark">仪表盘</h4>
                </div>
            </div>
        </div>
        <div class="content">
            <div class="container-fluid">
                <!--欢迎卡片-->
                <div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-header border-bottom-0">
                                <div class="pull-left">
                                    <h4 class="font-weight-light">欢迎使用UnaBoot!</h4>
                                    <p>我们准备了几个链接供您开始:</p>
                                </div>
                                <div class="card-tools pull-right">
                                    <button type="button" class="btn btn-tool" data-card-widget="remove">
                                        <i class="fas fa fa-times-circle-o"></i> <a href="#">关闭显示</a>
                                    </button>
                                </div>
                            </div>
                            <div class="card-body pt-0">
                                <div class="row">
                                    <div class="col-4">
                                        <h6 class="font-weight-bold mb-4">开始使用</h6>
                                        <a href="${una}/admin/settings/general" class="btn btn-primary mb-2">自定义您的站点</a>
                                        <p>或 <a href="${una}/admin/themes/" class="text-decoration-under-line">更换主题</a></p>
                                    </div>
                                    <div class="col-4">
                                        <h6 class="font-weight-bold mb-4">接下来</h6>
                                        <ul class="quick-menu pl-0">
                                            <li>
                                                <i class="fa fa-edit"></i>
                                                <a href="${una}/admin/themes/?pid=themes/${theme}" <#if profile.role !="admin">class="disabled" </#if>>编辑主题</a>
                                            </li>
                                            <li>
                                                <i class="fa fa-pencil"></i> <a href="${una}/admin/posts/create">撰写文章</a>
                                            </li>
                                            <li>
                                                <i class="fa fa-plus-circle"></i> <a href="${una}/admin/categories/" <#if profile.role !="admin">class="disabled" </#if> >添加栏目</a>
                                            </li>
                                            <li>
                                                <i class="fa fa-eye"></i> <a href="${una}/index.html">浏览站点</a>
                                            </li>
                                        </ul>
                                    </div>
                                    <div class="col-4">
                                        <h6 class="font-weight-bold mb-4">更多操作</h6>
                                        <ul class="quick-menu pl-0">
                                            <li>
                                                <i class="fa fa-share-alt"></i> <a href="${una}/admin/links/">设置友链</a>
                                            </li>
                                            <li>
                                                <i class="fa fa-tag"></i> <a href="${una}/admin/tags/">添加标签</a>
                                            </li>
                                            <li>
                                                <i class="fa fa-comments-o"></i> <a href="${una}/admin/settings/gitalk">打开/关闭评论功能</a>
                                            </li>
                                            <li>
                                                <i class="fa fa-mortar-board"></i> <a href="${una}/admin/apis">了解更多新手上路知识</a>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--信息预览-->
                <div class="row">
                    <!--站点信息-->
                    <div class="col-3">
                        <div class="card card-default">
                            <div class="card-header pt-2 pb-1">
                                <div class="pull-left">
                                    <h6 class="font-weight-bold">站点信息</h6>
                                </div>
                                <div class="card-tools pull-right">
                                    <button type="button" class="btn btn-tool" data-card-widget="collapse">
                                        <i class="fa fa-caret-up"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="card-body pt-2 pb-0 text-sm">
                                <div class="form-group row mb-1">
                                    <lable class="col-3 col-form-label font-weight-normal">名称:</lable>
                                    <div class="col-9">
                                        <input type="text" class="form-control input-sm" readonly value="${title!'Untitled'}">
                                    </div>
                                </div>
                                <div class="form-group row mb-1">
                                    <lable class="col-3 col-form-label font-weight-normal">域名:</lable>
                                    <div class="col-9">
                                        <input type="text" class="form-control input-sm" readonly value="${domain!'Undefined'}">
                                    </div>
                                </div>
                                <div class="form-group row mb-1">
                                    <lable class="col-3 col-form-label font-weight-normal">ICP备:</lable>
                                    <div class="col-9">
                                        <input type="text" class="form-control input-sm" readonly value="${icp!'Undefined'}">
                                    </div>
                                </div>
                                <div class="form-group row">
                                    <lable class="col-3 col-form-label font-weight-normal">公网安备:</lable>
                                    <div class="col-9">
                                        <input type="text" class="form-control" readonly value="${isp!'Undefined'}">
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="card card-default">
                            <div class="card-header pt-2 pb-1">
                                <div class="pull-left">
                                    <h6 class="font-weight-bold">概览</h6>
                                </div>
                                <div class="card-tools pull-right">
                                    <button type="button" class="btn btn-tool" data-card-widget="collapse">
                                        <i class="fa fa-caret-up"></i>
                                    </button>
                                </div>
                            </div>
                            <div class="card-body pt-2 pb-0 text-sm">
                                <ul class="info-view">
                                    <li>
                                        <i class="fa fa-file-word"></i> <a href="">108 篇文章</a>
                                    </li>
                                    <li>
                                        <i class="fa fa-plus-circle"></i> <a href="">18 个栏目</a>
                                    </li>
                                    <li>
                                        <i class="fa fa-tint"></i> <a href="">2 个主题</a>
                                    </li>
                                    <li>
                                        <i class="fa fa-tag"></i> <a href="">75 个标签</a>
                                    </li>
                                    <li>
                                        <i class="fa fa-share-alt"></i> <a href="">14 条友链</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-3"></div>
                    <div class="col-3"></div>
                    <div class="col-3"></div>
                </div>
            </div>
        </div>
    </div>
    <footer class="main-footer">
        <#include "/admin/inc/footer.html">
    </footer>
</div>
<script src="${una}/ub-admin/plugin/jquery/jquery.min.js" type="text/javascript"></script>
<script src="${una}/ub-admin/plugin/bootstrap/js/bootstrap.bundle.min.js" type="text/javascript"></script>
<script src="${una}/ub-admin/js/adminlte.js" type="text/javascript"></script>
<script src="${una}/ub-admin/js/unaboot-admin.core.js" type="text/javascript"></script>

</body>
</html>